<script module lang="ts">
    import { defineMeta } from "@storybook/addon-svelte-csf";
    import InnerPopup from "./InnerPopup.svelte";
    import { fn } from "storybook/test";

    const { Story } = defineMeta({
        title: "Components/Common/InnerPopup",
        component: InnerPopup,
        tags: ["autodocs"],
        argTypes: {},
        args: {},
    });
</script>

<Story name="类型">
    {#snippet template(args)}
        <InnerPopup clsPrefix="cm-tooltip" trigger="click" varName="tooltip" title="asd" arrow><span>hover</span></InnerPopup>
    {/snippet}
</Story>
